/*
 * TView.h
 *
 *  Created on: May 16, 2017
 *      Author: wangguojian
 */

#ifndef TVIEW_H_
#define TVIEW_H_

#include <view/CAView.h>
#include "AnchorLayout.h"
#include "basics/CASize.h"

class TView : public CrossApp::CAView
{
public:
	TView(const AnchorLayout &ly);
	virtual ~TView();

	void setAnchorLayout(const AnchorLayout &ly);
	void reViewAnchorLayout(const CrossApp::DSize& contentSize, bool allowAnimation = false);
private:
	AnchorLayout mAnchorLayout;
};

#endif /* TVIEW_H_ */
